<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>HomeWork</title>
<!-- (11:25:46 AM) cristi: cauti dintr-un document toate div-urile si le adaugi un style  -->
<script type="text/javascript">
function changeDiv()
{
	var locate = document.getElementsByTagName("div");
	for (var i=0; i<locate.lenght; i++)
	{
		locate[i].style.border = "3px green solid";
		locate[i].style.height = "30px";
		locate[i].style.width  = "40px"; 
	}
}
</script>
<!-- style type="text/css">
div {
	height: 30px;
	width: 40px;
}
</style-->
</head>
<body onload="changeDiv()">
<div></div>
<div></div>
<div></div>
<div></div>
</body>
</html>